var app = getApp();

Page({
	data: {
		vl_list: []
	},
	onLoad() {
		app.util.request({
			url: 'entry/wxapp/VolunteerList',
			success: (res) => {
				console.log(res.data.data.volun_list)
				this.setData({vl_list: res.data.data.volun_list})
			}
		})
	},
	onShareAppMessage: function () {
    	return {
      		title: '重庆大学体育学院研究生支部委员会',
      		path: 'cqdx_communist/pages/index/index'
   		}
  	},


	handleToDetail(e) {
		wx.navigateTo({
			url: '../activitydetail/activitydetail' + '?id=' + e.currentTarget.dataset.actid
		})
	}
})